package com.bdmc.alarm.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.bdmc.alarm.domain.bo.AlarmRuleConfigBo;
import com.bdmc.common.annotation.ExcelDictFormat;
import com.bdmc.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.List;

/**
 * 报警规则视图对象 alarm_rule
 *
 * @author bdmc
 * @date 2022-03-06
 */
@Data
@ExcelIgnoreUnannotated
public class AlarmRuleVo {

	private static final long serialVersionUID = 1L;

    /**
     * 报警规则id
     */
	@ExcelProperty(value = "报警规则id")
	private Long alarmRuleId;



    /**
     * 报警规则名称
     */
	@ExcelProperty(value = "报警规则名称")
	private String alarmRuleName;

	/**
	 * 规则对象 人或车辆
	 */
	@ExcelProperty(value = "规则对象")
	private String ruleTarget;

	/**
	 * 告警类型
	 */
	@ExcelProperty(value = "告警类型")
	private String alarmType;

	/**
	 * 最大停留时间
	 */
	@ExcelProperty(value = "最大停留时间")
	private Integer stopMaxMinute;

	/**
	 * 出围栏最大时间
	 */
	@ExcelProperty(value = "出围栏最大时间")
	private Integer outMaxMinute;
    /**
     * 是否启用
     */
	@ExcelProperty(value = "是否启用")
	private Integer enabled;

	/**
	 * 油量消耗
	 */
	private Integer oilWaste;

    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	private String remark;


	private List<AlarmRuleConfigVo> ruleConfigList;

}
